package repository

import (
	"github.com/gin-gonic/gin"
	"ruoyi/domain/entity/common"
	"ruoyi/domain/entity/response"
	"ruoyi/domain/entity/system"
)

type SysLoginInfoRepository interface {
	SelectLoginInfoList(params common.SearchTableDataParam) ([]system.SysLoginInfo, int64)

	LoginInfoAdd(context *gin.Context, param system.LoginParam, message string, loginSuccess bool) response.Response

	DelLoginLog(infoIdS []int) response.Response

	ClearLoginLog() response.Response

	UnlockByUserName(userName string)
}
